
	
/****** Object:  Stored Procedure [sapro].DoiTacUpdate    Script Date: Thursday, March 18, 2010 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spDoiTacUpdate]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [sapro].[spDoiTacUpdate]
GO
			
	
	

	
/******************************************************************************
**		File: 
**		Name: [sapro].spDoiTacUpdate
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 3/18/2010 5:03:47 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [sapro].spDoiTacUpdate
	@MaDoiTac int, 
	@TenDoiTac nvarchar(150), 
	@NoiDung nvarchar(255), 
	@ChiTiet nvarchar, 
	@DanhMucDoiTac int 
AS

UPDATE [sapro].[DoiTac] SET
	[TenDoiTac] = @TenDoiTac,
	[NoiDung] = @NoiDung,
	[ChiTiet] = @ChiTiet,
	[DanhMucDoiTac] = @DanhMucDoiTac
WHERE
	[MaDoiTac] = @MaDoiTac

GO

